package com.icedevcloud.upms.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.icedevcloud.upms.controller.admin.user.dto.UserExtResDto;
import com.icedevcloud.upms.entity.SysUser;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author XiaoBingBy
 * @since 2023-08-12
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    IPage<UserExtResDto> selectUserListPage(@Param("page") Page<SysUser> page, @Param(Constants.WRAPPER) QueryWrapper<SysUser> ew);

}
